<!DOCTYPE html>
<html>
<script>
var resize_count = 0;
window.addEventListener('resize', () => {resize_count++;});
</script>
<body>
Page that counts the number of times it receives a resize event.
</body>
</html>
